R*******c 发帖数: 249 | 1 再网上下了个Package,知道是在mac上生成的,里面有C code.
我试了两种方法,一种是直接把package的压缩文件解压缩,放在library里,还有就是
通过
Packages -> Install package(s) from local zip files,可是两种都不行
第一种错误是:
> library(curves2);
Error in library(curves2) : 'curves2' is not a valid installed package
第二种错误是:
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In gzfile(file, "r") :
cannot open compressed file 'curves2_1.0.1.tar/DESCRIPTION', probable
reason 'No such file or directory'
想请教下大家,怎么样才能在windows下使用这个包呢?
谢谢~ |
R*******c 发帖数: 249 | 2 顶!!
package
【在 R*******c 的大作中提到】 : 再网上下了个Package,知道是在mac上生成的,里面有C code. : 我试了两种方法,一种是直接把package的压缩文件解压缩,放在library里,还有就是 : 通过 : Packages -> Install package(s) from local zip files,可是两种都不行 : 第一种错误是: : > library(curves2); : Error in library(curves2) : 'curves2' is not a valid installed package : 第二种错误是: : Error in gzfile(file, "r") : cannot open the connection : In addition: Warning messages:
|
R*******c 发帖数: 249 | 3 upup
【在 R*******c 的大作中提到】 : 再网上下了个Package,知道是在mac上生成的,里面有C code. : 我试了两种方法,一种是直接把package的压缩文件解压缩,放在library里,还有就是 : 通过 : Packages -> Install package(s) from local zip files,可是两种都不行 : 第一种错误是: : > library(curves2); : Error in library(curves2) : 'curves2' is not a valid installed package : 第二种错误是: : Error in gzfile(file, "r") : cannot open the connection : In addition: Warning messages:
|
g********r 发帖数: 8017 | 4 不行的话把它解压成folder,在windows里重新build binary行不? |