[R] Error while running swirl package in R

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Aug 23 22:18:30 CEST 2015



On 23.08.2015 21:42, David Winsemius wrote:
>
> On Aug 23, 2015, at 10:08 AM, devender singh saini wrote:
>
>> Hi,
>>      I am not able to work in swirl package in R. I am able to install the
>> package R. But while giving the library("swirl") command the error comes up.
>> This is the error message.
>>
>>> install.packages("swirl")
>> Installing package into ‘C:/Users/Devender/Documents/R/win-library/3.2’
>> (as ‘lib’ is unspecified)
>> trying URL
>> 'https://cran.rstudio.com/bin/windows/contrib/3.2/swirl_2.2.21.zip'
>> Content type 'application/zip' length 132711 bytes (129 KB)
>> downloaded 129 KB
>>
>> package ‘swirl’ successfully unpacked and MD5 sums checked
>>
>> The downloaded binary packages are in
>>         C:\Users\Devender\AppData\Local\Temp\RtmpKuk1l0\downloaded_packages
>>> library("swirl")
>> Error in get(Info[i, 1], envir = env) :
>>   cannot open file
>> 'C:/Users/Devender/Documents/R/win-library/3.2/httr/R/httr.rdb': No such
>> file or directory
>> Error: package or namespace load failed for ‘swirl’
>
> It appears that the swirl package expects to have the httr package installed. You did not include the parameter dependencies=TRUE when you installed swirl.

The default should be fine, guess the httr installation is simply broken.

Best,
Uwe Ligges


>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> David Winsemius
> Alameda, CA, USA
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list