'multiply lists in R talking inners variables

I have a list1=[2,4,7], and a list2=[5,7,8,10]

I need repeted the first element of list1 times the first element of list2. The list don't have the same length.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source