Re: [R] how to download source code, pdf manual for any package from internet?

2012-05-19 Thread sagarnikam123
i use download.file() ,it works good for package source code t-available.packages(type=source) #all packages(list) from repository in source code .tar.gz format length(t[,2]) #total packages-- 3796 #package source file download for( i in seq_along(t[,1]) ) { download.file(

Re: [R] how to download source code, pdf manual for any package from internet?

2012-05-19 Thread Henrik Bengtsson
You need to specify that you want a binary download - make sure to read help(download.file), particular that of argument 'mode'. Alternatively, use downloadFile() in the R.utils package which download as binary by default. /Henrik On Sat, May 19, 2012 at 7:22 AM, sagarnikam123

[R] how to download source code, pdf manual for any package from internet?

2012-05-17 Thread sagarnikam123
i can get list of available packages by r-available.packages() No of available packages length(r[,1]) [1] 3739 single package name r[1,1] [1] ACCLMA i want download all packages starting with A / a alphabets, with their source code, pdf manual/vignettes from internet -- View this message

Re: [R] how to download source code, pdf manual for any package from internet?

2012-05-17 Thread Ben Bolker
sagarnikam123 sagarnikam123 at gmail.com writes: i can get list of available packages by r-available.packages() No of available packages length(r[,1]) [1] 3739 single package name r[1,1] [1] ACCLMA i want download all packages starting with A / a alphabets, with their source