博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
install lsa package for R on ubuntu 10.04 lts lucid
阅读量:7057 次
发布时间:2019-06-28

本文共 467 字,大约阅读时间需要 1 分钟。

install.packages('lsa',dependencies=T)

library(lsa)

m1<-c(1,2,1,0)

m2<-c(1,1,1,0)

cosine(m1,m2)

problem:

 

4
accepted

Dah, not long after posting I found the answer here:

Although I already had Sun Java installed, the key was to run update-java-alternatives to actually switch to Sun Java first before running javareconf:

sudo update-java-alternatives -s java-6-sunsudo R CMD javareconf
|
|
要解决这个问题,还得参考如下的链接

http://www.cnblogs.com/lexus/archive/2011/12/01/2271060.html

你可能感兴趣的文章
JavaWeb项目(SSM)准备工作
查看>>
python 字符串操作
查看>>
C# to IL 2 IL Basics(IL基础)
查看>>
Flocks,Herds and Schools: A Distributed Behavioral Model
查看>>
期末作业验收
查看>>
VS调试技巧之----Attach to Process
查看>>
HTML+CSS+JAVASCRIPT 总结
查看>>
比较汇编指令 LEA 和 MOV
查看>>
iOS多线程之4.GCD简介
查看>>
绘制双坐标轴的图形3-不同的plot类型
查看>>
贪吃蛇源代码分析
查看>>
VB中StdPicture尺寸(Width,Height)转像素单位
查看>>
初来乍到
查看>>
TextKit学习通过boundingRectWithSize:options:attributes:context:计算文本尺寸
查看>>
01.VC++2008开始写程序
查看>>
函数栈帧(用汇编来剖析)
查看>>
angular controller的一些用法
查看>>
element ui tabl 输出Html
查看>>
图片算法学习---欧式算法
查看>>
webstorm 很卡 scanning files to index (扫描文件索引)
查看>>