Skip to content

Problems with Cosine Similarity using library(lsa)

7 messages · Uwe Ligges, A J, Dallas

#
The error message suggests that you do not have Java installed. And 
since you said it works in 32-bit: You only have a 32-bit Java but no 
64-bit Java installed in your machine.

Uwe Ligges
On 23.02.2012 11:08, A J wrote:
#
On 23.02.2012 13:07, A J wrote:
We do not know what you object matrix_v3 is, so how could we help? 
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
#
The as.matrix (and as.table or as. vector or as.numeric ...) command takes
the object that you wish to convert as an argument. So the code below will
actually perform the conversion from table to matrix.
A way to see what form your data are taking is to use the command
typeof(object). In this case, you can write
Easy fix (hopefully)

Tad

--
View this message in context: http://r.789695.n4.nabble.com/Problems-with-Cosine-Similarity-using-library-lsa-tp4413433p4415114.html
Sent from the R help mailing list archive at Nabble.com.